package com.huatai.bpmn.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *
 * @TableName tb_user_deployment
 */
@TableName(value ="tb_user_deployment")
@Data
public class TbUserDeploymentEntity implements Serializable {
    /**
     * 用户id
     */
	@ApiModelProperty("用户id")
    private Long userId;

    /**
     * 事项id
     */
	@ApiModelProperty("事项Key")
    private String deployKey;

	@ApiModelProperty("关注sql")
	private String attentionSql;

	@ApiModelProperty("事项名称")
	@TableField(exist = false)
	private String deployName;

	@ApiModelProperty("绑定事项集合")
	@TableField(exist = false)
	private List<TbUserDeploymentEntity> userDeploymentList;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
